package org.jeecg.modules.compilation.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class CiDocDTO {
    /**文件题名*/
    @Excel(name = "文件题名", width = 15)
    @ApiModelProperty(value = "文件题名")
    private String documentTitle;

    @Excel(name = "图标url", width = 15)
    @ApiModelProperty(value = "图标url")
    private String businessCategoryUrl;

    /**发布日期*/
    @Excel(name = "发布日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "发布日期")
    private Date publishedDate;

    /**启用状态*/
    @Excel(name = "启用状态", width = 15)
    @ApiModelProperty(value = "启用状态")
    private String enableFlag;

    /**文件编号（ES文档ID）*/
    @Excel(name = "文件编号（ES文档ID）", width = 15)
    @ApiModelProperty(value = "文件编号（ES文档ID）")
    private String documentSn;

    /**文件正文*/
    @Excel(name = "文件正文", width = 15)
    @ApiModelProperty(value = "文件正文")
    private String content;

    /**发文字号*/
    @Excel(name = "发文字号", width = 15)
    @ApiModelProperty(value = "发文字号")
    private String documentIdentifier;

    /**html内容*/
    @Excel(name = "html内容", width = 15)
    @ApiModelProperty(value = "html内容")
    private java.lang.String htmlText;
    /**html样式*/
    @Excel(name = "html样式", width = 15)
    @ApiModelProperty(value = "html样式")
    private java.lang.String htmlStyle;

}
